<include file="./head" />
<body>
<div class="page theme-diy" id="page-index">
  <header class="bar bar-nav"> <a class="icon icon-left pull-left pull-left back" href="{:U('index/index')}"></a>
    <h1 class="title">会员收入TOP30榜单</h1>
  </header>
  <div class="content native-scroll" style="overflow-y:scroll;overflow-x:hidden;">
    <div style="height:1rem;"></div>
    <div class="list-block contacts-block" style="margin-top:0px">
      <ul>
        <?php foreach($user as $key=>$v):?>
        <li>
          <div class="item-content">
            <div class="item-inner">
              <div class="item-title">第<?php echo $key+1;?>名</div>
              <div class="item-title" style="text-align:left">
                <?php if(empty($v['nickname'])){ echo substr_replace($v['user_tel'],'****',3,4);}else{ echo $v['nickname']; };?>
              </div>
              <div class="item-title">￥<?php echo$v['zonger'];?></div>
            </div>
          </div>
        </li>
        <?php endforeach; ?>
      </ul>
    </div>
  </div>
  <?php foreach($helplist as$key=>$v):?>
  <div class="popup popup-help_{$key}">
    <div class="content-block">
      <p>{:htmlspecialchars_decode($v['content'])}</p>
      <p><a href="#" class="close-help_{$key}">Close popup</a></p>
      <p>Lorem ipsum dolor ...</p>
    </div>
  </div>
  <?php endforeach;?>
  <include file="./foot_nav" />
</div>
<include file="./foot" />
